package com.mode.mediator.pattern;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/27 15:48
 */
public abstract class Mediator {
    private Man man;

    private Women women;

    public Man getMan() {
        return man;
    }

    public void setMan(Man man) {
        this.man = man;
    }

    public Women getWomen() {
        return women;
    }

    public void setWomen(Women women) {
        this.women = women;
    }

    public abstract void getCompantion(Person person);
}
